package com.jason.www.pubsub.core;

/**
 * @author ybd
 * @date 17-10-30.
 */
public interface ListenerProcessor<E> {
	/**
	 * 监听事件并处理业务逻辑
	 * @param e 事件源
	 * @throws Exception
	 */
	void onListen(E e) throws Exception;
}
